package com.cn.wanxi.thread;

public class MyRunnable implements Runnable {
    //    private String name;
//
//    public MyRunnable(String name) {
//        this.name = name;
//    }
    private int num = 100;

    @Override
    public void run() {
        System.out.println("线程:" + Thread.currentThread().getName() + "开始:num的值:" + --num);

    }
}
